package main

import "factory/deco"

func main() {
	//user := Factory.CreateUser(Factory.FrontUser)(1, "huaynzu").(*models.User)
	//fmt.Println(user)
	//fmt.Println(new(Factory.TechFactory).CreateProduct(Factory.ProductTechBook).Getinfo())
	//book := new(models.Book).NewBook(1, "huyanzu").Setprice(65).Build()
	//fmt.Println(book.Name)
	deco.Getinfo(2)
	deco.GetInfoWith(deco.Getinfo)(2)
}
